package com.myclasses;

public class UserItemBean{
	private String name;
	private String group;
	private String indexNo;
	private String email;
	
	public UserItemBean(String name, String group, String email, String indexNo) {
		this.name = name;
		this.group = group;
		this.email = email;
		this.indexNo = indexNo;
		//Contacts contact = new Contacts();
		//contact.insertContact(this);
	}
	
	public String getName(){return this.name;}
	public void setName(String name){this.name = name;}

	public String getGroup(){return this.group;}
	public void setGroup(String group){this.group = group;}
	
	public String getEmail(){return this.email;}
	public void setEmail(String email){this.email = email;}
	
	public String getIndexNo(){return this.indexNo;}
	public void setIndexNo(String indexNo){this.indexNo = indexNo;}

	public String toString() {
	    return this.name + " [" + this.email + "]";
	}
}